package com.qf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.entity.product.ProductReview;
import com.qf.param.BO.ReviewLikeDislikeUpdateBO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.List;

/**
 *@Author Ayases
 *@Date 2025/6/9 20:19
 *@Desc
 */

@Mapper
public interface ProductReviewMapper extends BaseMapper<ProductReview> {

    /**
     * 批量更新评论点赞点踩数
     * @param updates 更新列表
     */
    void batchUpdateLikeDislike(@Param("list") List<ReviewLikeDislikeUpdateBO> updates);

}
